// 菜单栏数据接口定义
export interface MenuItem {
  id: number;
  parentId: number;
  weight: number;
  name: string;
  webSiteNum: number;
  icon: string;
  menuType: number;
  menuName: string;
  menuSort: number;
  children?: MenuItem[];
}

// 网站数据接口定义
export interface WebsiteDetail {
  id: number;
  menuName: string;
  websiteName: string;
  websiteRemark: string;
  websiteLogo: string;
  websiteUrl: string;
  websiteSort: number;
  creator: string;
  modifier: string;
  modifyTime: string;
  version: number;
  deleted: string;
  createTime: string;
  websiteClickNum: number;
}


export interface MenuWebsiteVO {
  oneMenuId: number;
  oneMenuName: string;
  icon: string;
  twoMenuList: TwoMenuWebsiteVO[];
}


export interface TwoMenuWebsiteVO {
  twoMenuId: number;
  twoMenuName: string;
  websiteList: WebsiteDetail[];
}




// 参数类型定义
export interface MenuParams {
  parentId?: number | null      // 父id
  menuType: number             // 类型: 1级菜单，2级菜单
  menuName: string             // 菜单名称
  icon?: string                // 图标
  remark?: string              // 备注
  menuSort?: number            // 菜单序号
}